package org.mwiki.scala.bot;

/**
 * Created by IntelliJ IDEA.
 * User: adm
 * Date: Apr 25, 2010
 * Time: 8:53:33 PM
 * To change this template use File | Settings | File Templates.
 */
enum Namespace {

  MEDIA(-2, "Media"),
  SPECIAL(-1, "Special"),
  MAIN(0, ""),
  TALK(1, "Talk"),
  USER(2, "User"),
  USER_TALK(3, "User talk"),
  PROJECT(4, "Project"),
  PROJECT_TALK(5, "Project talk"),
  FILE(6, "File"),
  FILE_TALK(7, "File talk"),
  MEDIAWIKI(8, "MediaWiki"),
  MEDIAWIKI_TALK(9, "MediaWiki talk"),
  TEMPLATE(10, "Template"),
  TEMPLATE_TALK(11, "Template talk"),
  HELP(12, "Help"),
  HELP_TALK(13, "Help talk"),
  CATEGORY(14, "Category"),
  CATEGORY_TALK(15, "Category talk");

  Namespace(int code, String prefix) {
    this.code = code;
    this.prefix = prefix;
  }

  int code;
  String prefix;
}

